package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 sys_dept_token
 *
 * @author ruoyi
 * @date 2022-05-13
 */
public class SysDeptToken extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 逐渐id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 天润token */
    @Excel(name = "天润token")
    private String trLoginToken;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    @Excel(name = "企业id")
    private String enterpriseId;

    @Excel(name = "备注")
    private String comment;
    /**
     * 企微主题ID 用于呼叫获取天润token和企业ID
     */
    private String corpId;

    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(String enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setTrLoginToken(String trLoginToken)
    {
        this.trLoginToken = trLoginToken;
    }

    public String getTrLoginToken()
    {
        return trLoginToken;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("trLoginToken", getTrLoginToken())
                .append("startTime", getStartTime())
                .toString();
    }
}